package com.yc.psychologicalconsultant.controller;

import com.yc.psychologicalconsultant.pojo.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@Slf4j
@RestController
public class TokenController {
    @GetMapping("/chat")
    public Result chat() {
        return Result.success();
    }

    @GetMapping("/test")
    public Result test() {
        return Result.success();
    }
}
